Don't use one-stop gradients
authorEmilio Pozuelo Monfort <pochu27@gmail.com>
Thu, 28 Jul 2016 15:12:25 +0000 (17:12 +0200)
committerEmilio Pozuelo Monfort <pochu27@gmail.com>
Thu, 28 Jul 2016 15:12:25 +0000 (17:12 +0200)
They are deprecated, which causes a warning that makes
the test fail.

https://bugzilla.gnome.org/show_bug.cgi?id=769004

testsuite/reftests/linear-gradient-transition-to-other.css

index f8bbb866d09c898a212417bf2c45c55fb7598afa..65fdb8d09ac579818d228f65f932210d0d80372b 100644 (file)
@@ -3,11 +3,11 @@
 }
 
 @keyframes ref {
-  100% { background-image: linear-gradient(to bottom, lime); }
+  100% { background-image: linear-gradient(to bottom, lime, lime); }
 }
 
 * {
-  background: linear-gradient(to bottom, red);
+  background: linear-gradient(to bottom, red, red);
   animation: anim steps(5,end) 20s;
 }